//
//  CSGXInventoryCheckInfoView.m
//  CarSalesMS_GCX
//
//  Created by Ssky on 2016/12/16.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import "CSGXInventoryCheckInfoView.h"
#import "CSTextField.h"

@interface CSGXInventoryCheckInfoView ()

@property (nonatomic, weak) UILabel *lblName;

@property (nonatomic, weak) CSTextField * txtTime;



@end

@implementation CSGXInventoryCheckInfoView




#pragma mark - setupUI
- (void)setupUI {
    //lblName
    UILabel *lblName = [UILabel gx_labelWithText:@"庐陵醉" fontSize:12 color:[UIColor whiteColor]];
    [self addSubview:lblName];
    
    lblName.backgroundColor = kColorBar;
    
    [lblName mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.leading.trailing.equalTo(self).mas_offset(0);
        make.height.mas_offset(22);
    }];

    //
    CSTextField * txtTime = [CSTextField gx_textFieldWithLineColor:[UIColor colorWithRed:200/255.0 green:200/255.0 blue:200/255.0 alpha:1] lineWidth:2];
    [self addSubview:txtTime];
    self.txtTime = txtTime;
    
    [txtTime mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(lblName.mas_bottom).mas_offset(5);
        make.leading.trailing.equalTo(self).mas_offset(2);
        make.height.mas_offset(22);
    }];

    
    //
    self.lblName = lblName;
}


















@end
